package com.ruoyi.youtian.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 点位与设备关联对象 point_equipment
 *
 * @author ruoyi
 * @date 2022-09-15
 */
@Data
public class PointEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long equipmentId;

    /** 点位id */
    @Excel(name = "点位id")
    private String pointId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 单位id **/
    private Long deptId;

    /** 单位名称 **/
    private String deptName;


    /** 二级单位ID **/
    private Integer ejdwId;

    /** 二级单位名称 **/
    private String ejdwName;

    /** 作业区ID **/
    private Integer zyqId;

    /** 作业区名称 **/
    private String zyqName;

    /**部门Id**/
    private Integer bmId;

    /** 部门名称 **/
    private String bmName;

    /**
     * 采集点位名称
     */
    private String tagName;

    /**
     * 最大值
     */
    private Long maximum;

    /**
     * 最小值
     */
    private Long minimum;


    public PointEquipment() {
    }

    public PointEquipment( Long id, Long equipmentId, String pointId, String delFlag, Long deptId, String deptName, Integer ejdwId, String ejdwName, Integer zyqId, String zyqName, Integer bmId, String bmName, String tagName, Long maximum, Long minimum) {
        this.id = id;
        this.equipmentId = equipmentId;
        this.pointId = pointId;
        this.delFlag = delFlag;
        this.deptId = deptId;
        this.deptName = deptName;
        this.ejdwId = ejdwId;
        this.ejdwName = ejdwName;
        this.zyqId = zyqId;
        this.zyqName = zyqName;
        this.bmId = bmId;
        this.bmName = bmName;
        this.tagName = tagName;
        this.maximum = maximum;
        this.minimum = minimum;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return equipmentId
     */
    public Long getEquipmentId() {
        return equipmentId;
    }

    /**
     * 设置
     * @param equipmentId
     */
    public void setEquipmentId(Long equipmentId) {
        this.equipmentId = equipmentId;
    }

    /**
     * 获取
     * @return pointId
     */
    public String getPointId() {
        return pointId;
    }

    /**
     * 设置
     * @param pointId
     */
    public void setPointId(String pointId) {
        this.pointId = pointId;
    }

    /**
     * 获取
     * @return delFlag
     */
    public String getDelFlag() {
        return delFlag;
    }

    /**
     * 设置
     * @param delFlag
     */
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 获取
     * @return deptId
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * 设置
     * @param deptId
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * 获取
     * @return deptName
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置
     * @param deptName
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * 获取
     * @return ejdwId
     */
    public Integer getEjdwId() {
        return ejdwId;
    }

    /**
     * 设置
     * @param ejdwId
     */
    public void setEjdwId(Integer ejdwId) {
        this.ejdwId = ejdwId;
    }

    /**
     * 获取
     * @return ejdwName
     */
    public String getEjdwName() {
        return ejdwName;
    }

    /**
     * 设置
     * @param ejdwName
     */
    public void setEjdwName(String ejdwName) {
        this.ejdwName = ejdwName;
    }

    /**
     * 获取
     * @return zyqId
     */
    public Integer getZyqId() {
        return zyqId;
    }

    /**
     * 设置
     * @param zyqId
     */
    public void setZyqId(Integer zyqId) {
        this.zyqId = zyqId;
    }

    /**
     * 获取
     * @return zyqName
     */
    public String getZyqName() {
        return zyqName;
    }

    /**
     * 设置
     * @param zyqName
     */
    public void setZyqName(String zyqName) {
        this.zyqName = zyqName;
    }

    /**
     * 获取
     * @return bmId
     */
    public Integer getBmId() {
        return bmId;
    }

    /**
     * 设置
     * @param bmId
     */
    public void setBmId(Integer bmId) {
        this.bmId = bmId;
    }

    /**
     * 获取
     * @return bmName
     */
    public String getBmName() {
        return bmName;
    }

    /**
     * 设置
     * @param bmName
     */
    public void setBmName(String bmName) {
        this.bmName = bmName;
    }

    /**
     * 获取
     * @return tagName
     */
    public String getTagName() {
        return tagName;
    }

    /**
     * 设置
     * @param tagName
     */
    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    /**
     * 获取
     * @return maximum
     */
    public Long getMaximum() {
        return maximum;
    }

    /**
     * 设置
     * @param maximum
     */
    public void setMaximum(Long maximum) {
        this.maximum = maximum;
    }

    /**
     * 获取
     * @return minimum
     */
    public Long getMinimum() {
        return minimum;
    }

    /**
     * 设置
     * @param minimum
     */
    public void setMinimum(Long minimum) {
        this.minimum = minimum;
    }

    public String toString() {
        return "PointEquipment{serialVersionUID = " + serialVersionUID + ", id = " + id + ", equipmentId = " + equipmentId + ", pointId = " + pointId + ", delFlag = " + delFlag + ", deptId = " + deptId + ", deptName = " + deptName + ", ejdwId = " + ejdwId + ", ejdwName = " + ejdwName + ", zyqId = " + zyqId + ", zyqName = " + zyqName + ", bmId = " + bmId + ", bmName = " + bmName + ", tagName = " + tagName + ", maximum = " + maximum + ", minimum = " + minimum + "}";
    }
}
